Integrand size = 24, antiderivative size = 27 \[ \int \frac {\sec ^8(c+d x)}{(a+i a \tan (c+d x))^3} \, dx=\frac {i (a-i a \tan (c+d x))^4}{4 a^7 d} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {3568, 32} \[ \int \frac {\sec ^8(c+d x)}{(a+i a \tan (c+d x))^3} \, dx=\frac {i (a-i a \tan (c+d x))^4}{4 a^7 d} \]
[In]
[Out]
Rule 32
Rule 3568
Rubi steps \begin{align*} \text {integral}& = -\frac {i \text {Subst}\left (\int (a-x)^3 \, dx,x,i a \tan (c+d x)\right )}{a^7 d} \\ & = \frac {i (a-i a \tan (c+d x))^4}{4 a^7 d} \\ \end{align*}
Time = 0.10 (sec) , antiderivative size = 50, normalized size of antiderivative = 1.85 \[ \int \frac {\sec ^8(c+d x)}{(a+i a \tan (c+d x))^3} \, dx=\frac {\tan (c+d x) \left (4-6 i \tan (c+d x)-4 \tan ^2(c+d x)+i \tan ^3(c+d x)\right )}{4 a^3 d} \]
[In]
[Out]
Time = 0.42 (sec) , antiderivative size = 21, normalized size of antiderivative = 0.78
method | result | size |
derivativedivides | \(\frac {i \left (\tan \left (d x +c \right )+i\right )^{4}}{4 a^{3} d}\) | \(21\) |
default | \(\frac {i \left (\tan \left (d x +c \right )+i\right )^{4}}{4 a^{3} d}\) | \(21\) |
risch | \(\frac {4 i}{d \,a^{3} \left ({\mathrm e}^{2 i \left (d x +c \right )}+1\right )^{4}}\) | \(23\) |
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 69 vs. \(2 (21) = 42\).
Time = 0.24 (sec) , antiderivative size = 69, normalized size of antiderivative = 2.56 \[ \int \frac {\sec ^8(c+d x)}{(a+i a \tan (c+d x))^3} \, dx=\frac {4 i}{a^{3} d e^{\left (8 i \, d x + 8 i \, c\right )} + 4 \, a^{3} d e^{\left (6 i \, d x + 6 i \, c\right )} + 6 \, a^{3} d e^{\left (4 i \, d x + 4 i \, c\right )} + 4 \, a^{3} d e^{\left (2 i \, d x + 2 i \, c\right )} + a^{3} d} \]
[In]
[Out]
\[ \int \frac {\sec ^8(c+d x)}{(a+i a \tan (c+d x))^3} \, dx=\frac {i \int \frac {\sec ^{8}{\left (c + d x \right )}}{\tan ^{3}{\left (c + d x \right )} - 3 i \tan ^{2}{\left (c + d x \right )} - 3 \tan {\left (c + d x \right )} + i}\, dx}{a^{3}} \]
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 47 vs. \(2 (21) = 42\).
Time = 0.21 (sec) , antiderivative size = 47, normalized size of antiderivative = 1.74 \[ \int \frac {\sec ^8(c+d x)}{(a+i a \tan (c+d x))^3} \, dx=-\frac {-i \, \tan \left (d x + c\right )^{4} + 4 \, \tan \left (d x + c\right )^{3} + 6 i \, \tan \left (d x + c\right )^{2} - 4 \, \tan \left (d x + c\right )}{4 \, a^{3} d} \]
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 47 vs. \(2 (21) = 42\).
Time = 0.60 (sec) , antiderivative size = 47, normalized size of antiderivative = 1.74 \[ \int \frac {\sec ^8(c+d x)}{(a+i a \tan (c+d x))^3} \, dx=-\frac {-i \, \tan \left (d x + c\right )^{4} + 4 \, \tan \left (d x + c\right )^{3} + 6 i \, \tan \left (d x + c\right )^{2} - 4 \, \tan \left (d x + c\right )}{4 \, a^{3} d} \]
[In]
[Out]
Time = 4.45 (sec) , antiderivative size = 77, normalized size of antiderivative = 2.85 \[ \int \frac {\sec ^8(c+d x)}{(a+i a \tan (c+d x))^3} \, dx=-\frac {\sin \left (c+d\,x\right )\,\left (-4\,{\cos \left (c+d\,x\right )}^3+{\cos \left (c+d\,x\right )}^2\,\sin \left (c+d\,x\right )\,6{}\mathrm {i}+4\,\cos \left (c+d\,x\right )\,{\sin \left (c+d\,x\right )}^2-{\sin \left (c+d\,x\right )}^3\,1{}\mathrm {i}\right )}{4\,a^3\,d\,{\cos \left (c+d\,x\right )}^4} \]
[In]
[Out]